<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class HotelInfo extends Model
{
    protected $table = 'hotel_infos';

    protected $fillable = [
    	'hotel_phone',
    	'hotel_wifi_account',
    	'hotel_wifi_password',
    	'hotel_id'
    ];

    public function hotel()
    {
        return $this->hasOne('App\Models\Hotel','hotel_id','id');
    }
}
